<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./src/utils/file.js"></script>
</head>
<body>

    <button>打开</button>

    <script>

        let btn = document.querySelector('button')

        btn.onclick = async function (){
            let a = await fileUtils.showDirectory()
            a.forEach(n => {
                console.log(n);
            });
        }

    </script>
    
</body>
</html>